<?php
defined('_JEXEC') or die('Restricted access');
jimport('joomla.application.component.view');
class RaovatViewRaovat extends JViewLegacy{
 	public  $item = null;
	public function display($tpl = null) {
		$this->item = $this->get('data');
		$this->relative = $this->get('relative');
		$this->menu =RaovatHelper::getMenu();
		$this->setDocument();
		parent::display($tpl);
	}
	protected function setDocument() 
	{
		$document = JFactory::getDocument();
		$document->setTitle($this->item->title);
		$document->addStyleSheet(JUri::base() . 'components/com_raovat/css/style.css');
	}
}
